import 'package:flutter_eve_plugin/model/ye_xiu/checkpoint/user_card.dart';
import 'package:json_annotation/json_annotation.dart';

part 'card.g.dart';

@JsonSerializable()
class CardUpgrade{
  final int code;
  final String message;
  final CardInfo data;
  CardUpgrade(this.code, this.message, this.data);

  factory CardUpgrade.fromJson(Map<String, dynamic> json) =>
      _$CardUpgradeFromJson(json);

  Map<String, dynamic> toJson() => _$CardUpgradeToJson(this);
}



